<?php
namespace Admin\Controller;
use Think\ControllerEx;
class LoginController extends CommonController {

    //退出登录方法
    public function logoff(){
        session('admin',null);
        
        $this->redirect('Home/Login/index');
    }
}